package com.mmd.manage.dao;

import com.mmd.common.entity.MmdSupplier;
import com.mmd.common.mapper.MmdSupplierMapper;
import com.mmd.manage.vo.SupplierVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MmdSupplierDao extends MmdSupplierMapper {
	List<MmdSupplier> getSupplierListPage(@Param("keyWord")String keyWord, @Param("start")int start, @Param("pageSize")int pageSize);
	
	int getSupplierListPageTotal(@Param("keyWord")String keyWord);
	
	int insertSupplier(MmdSupplier supplier);
	
	SupplierVo getSupplierDetail(String supplierCode);
	
	SupplierVo getSupplierDetailByUid(long uid);
	
	List<MmdSupplier> getSupplierList();
}
